#include <stdio.h>

int main() {
	int a[2][4], m, n;
	for (m = 0; m < 2; m++)
		for (n = 0; n < 4; n++) {
			scanf("%d", &a[m][n]);
		}
	printf("Barray:\n");
	for (m = 0; m < 2; m++) {
		for (n = 0; n < 4; n++)
			printf("%d\t", a[m][n]);
		printf("\n");
	}
}